]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Add additional padding to the view specific workspace controls
authorFlorian Müllner <fmuellner@src.gnome.org>
Sun, 14 Feb 2010 21:06:32 +0000 (22:06 +0100)
committerFlorian Müllner <fmuellner@src.gnome.org>
Mon, 22 Feb 2010 17:47:04 +0000 (18:47 +0100)
In the latest mockup, there is more spacing around the scroll bar than
between the other controls.

https://bugzilla.gnome.org/show_bug.cgi?id=610189

data/theme/gnome-shell.css
js/ui/workspacesView.js

index bf18b05331f11bc4cc0832207243a573b893f4ed..b2c816f4c95a7d8f19ed0e9358e07135fa910fa5 100644 (file)
@@ -206,6 +206,10 @@ StTooltip {
     -shell-close-overlap: 16px;
 }
 
+.single-view-controls {
+    padding: 0px 15px;
+}
+
 .workspace-controls {
     width: 24px;
     height: 16px;
index 450e36c334424d86c3b5b0c913a0473d3a95b8f9..e129a76d01b35ff4886395feda29012de0dea0a4 100644 (file)
@@ -744,7 +744,9 @@ SingleView.prototype = {
     },
 
     createControllerBar: function() {
-        let panel = new St.BoxLayout({ 'pack-start': true, vertical: true });
+        let panel = new St.BoxLayout({ style_class: 'single-view-controls',
+                                       pack_start: true,
+                                       vertical: true });
 
         let actor = new St.BoxLayout({ 'pack-start': true });
         let active = global.screen.get_active_workspace_index();